package FunctionalInteface_Function;

import java.util.function.Function;

public class FunctionDemo {

	public static void main(String[] args) {
		int a = 100;
		convert(a,(b)->{
			b += 100;
			String ret = b.toString();
			return ret;
			
		});

	}
	
	private static void convert(int a,Function<Integer,String> fun) {
		System.out.println(fun.apply(a));
	}

}
